import { request } from "./request.js";

export function sendRights(roleid,str) {
  return request({
    method: "post",
    url: `roles/${roleid}/rights`,
    data:{
      rids:str
    }
  });
}